package com.yunpeng.aidevice.dao.model.relation;

import com.yunpeng.aidevice.dao.model.BaseRelationDO;

/**
 * <p>
 * 设备绑定部门
 * </p>
 *
 * @author hemw
 * @since 2020-04-26
 */
public class DeviceRelationOrganizationDO extends BaseRelationDO {

    private static final long serialVersionUID = 1L;

    /**
     * 部门代码
     */
    private String organizationCode;

    /**
     * 部门名称
     */
    private String organizationName;

    /**
     * 设备代码
     */
    private String deviceCode;


    public String getOrganizationCode() {
        return organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    @Override
    public String toString() {
        return "OrganizationDO{" +
                "id=" + id +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", updater=" + updater +
                ", updateTime=" + updateTime +
                ", flag=" + flag +
                ", organizationCode=" + organizationCode +
                ", organizationName=" + organizationName +
                ", deviceCode=" + deviceCode +
                "}";
    }
}
